"打开树状文件目录  
map <C-F3> \be  
:autocmd BufRead,BufNewFile *.dot map <F5> :w<CR>:!dot -Tjpg -o %<.jpg % && eog %<.jpg  <CR><CR> && exec "redr!"
"列出当前目录文件
map <F3> :NERDTreeToggle<CR>
imap <F3> <ESC> :NERDTreeToggle<CR>
map <F8> :TagbarOpenAutoClose<CR>
imap <F8> :TagbarClose<CR>

" 添加括号
nnoremap <leader>" :norm ysiw"<CR>
vnoremap <leader>" :<C-U>norm S"<CR>
nnoremap <leader>' :norm ysiw'<CR>
vnoremap <leader>' :<C-U>norm S'<CR>
nnoremap <leader>( :norm ysiw(<CR>
vnoremap <leader>( :<C-U>norm S(<CR>
nnoremap <leader>[ :norm ysiw[<CR>
vnoremap <leader>[ :<C-U>norm S[<CR>
nnoremap <leader>{ :norm ysiw{<CR>
vnoremap <leader>{ :<C-U>norm S{<CR>

" 修改括号
nnoremap <leader>g" :norm cs"<CR>
nnoremap <leader>g' :norm cs'<CR>
nnoremap <leader>g( :norm cs(<CR>
nnoremap <leader>g[ :norm cs[<CR>
nnoremap <leader>g{ :norm cs{<CR>

" 删除括号
nnoremap <leader>d" :norm ds"<CR>
nnoremap <leader>d' :norm ds'<CR>
nnoremap <leader>d( :norm ds(<CR>
nnoremap <leader>d[ :norm ds[<CR>
nnoremap <leader>d{ :norm ds{<CR>
